package com.android.base.module.http.callback;

/**
 * <Pre>
 *     易源API通用响应数据
 * </Pre>
 *
 * @author YANGQIYUN
 * @version 1.0
 *          <p/>
 *          Create by 2016/3/1 14:29
 */
public class ShowApiResponse<T> {

    /**
     * status : 1
     * server_time : 1469241169318
     * query_time : 0.184
     * message : 操作成功
     * size : 1
     * data : {"id":7,"display_name":"YK_10000000007","token":"98c46053353f570848a192aa16e4e426","avatar":"http://i.zingchat.cn/"}
     */

    private int status;
    private String code;
    private long server_time;
    private double query_time;
    private String message;
    private int size;
    public T data;

    /**
     * id : 7
     * display_name : YK_10000000007
     * token : 98c46053353f570848a192aa16e4e426
     * avatar : http://i.zingchat.cn/
     */

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getServer_time() {
        return server_time;
    }

    public void setServer_time(long server_time) {
        this.server_time = server_time;
    }

    public double getQuery_time() {
        return query_time;
    }

    public void setQuery_time(double query_time) {
        this.query_time = query_time;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
